
import { getRequest, postRequest } from '@/lib/axios';
import {
    ASSETS, ASSETSRECORD, VIPCARDRECORDS, DIAMONDGOLDEXCHANGE
} from '@/config/api-constant/slotsgame'

// 钻石资产
export const assetsListApi = (param) => {
    return getRequest(ASSETS, param)
}

// 钻石资产记录
export const assetsRecordListApi = (param) => {
    return getRequest(ASSETSRECORD, param)
}

// VIP卡购买记录
export const vipCardRecordsApi = (param) => {
    return postRequest(VIPCARDRECORDS, param)
}

// 钻石金币兑换记录
export const diamondGoldExchangeApi = (param) => {
    return postRequest(DIAMONDGOLDEXCHANGE, param)
}
